﻿namespace HRM.CORE.REPORT
{
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class rpt02aTBH : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private HRM_INSURANCE cls;
        private IContainer components;
        private DetailBand Detail;
        private XRTableCell dtBirthday;
        private XRTableCell dtFromDate;
        private GroupHeaderBand GroupHeader1;
        private Guid m_InsuranceTableListID;
        private int m_Order;
        private ReportFooterBand ReportFooter;
        private ReportHeaderBand ReportHeader;
        private TopMarginBand TopMargin;
        private XRLabel txtAddress;
        private XRLabel txtCompany;
        private XRLabel txtCompanyCode;
        private XRLabel txtCourseMonthYear;
        private XRTableCell txtDescription;
        private XRTableCell txtEmployeeName;
        private XRTableCell txtHealthInsuranceCode;
        private XRTableCell txtHospital;
        private XRTableCell txtIDCard;
        private XRTableCell txtMainAddress;
        private XRTableCell txtNewAllowance1;
        private XRTableCell txtNewAllowance2;
        private XRTableCell txtNewAllowance3;
        private XRTableCell txtNewAllowance4;
        private XRTableCell txtNewSalary;
        private XRTableCell txtNumberHealth;
        private XRTableCell txtNumberSocial;
        private XRTableCell txtOrder;
        private XRTableCell txtPayExtraHealth;
        private XRTableCell txtPayExtraSocial;
        private XRTableCell txtPayHealth;
        private XRTableCell txtPaySocial;
        private XRTableCell txtProvince;
        private XRTableCell txtSex;
        private XRTableCell txtSocialInsuranceCode;
        private XRTableCell txtWageHealth;
        private XRTableCell txtWageSocial;
        private XRLabel xrLabel1;
        private XRLabel xrLabel10;
        private XRLabel xrLabel11;
        private XRLabel xrLabel12;
        private XRLabel xrLabel13;
        private XRLabel xrLabel14;
        private XRLabel xrLabel15;
        private XRLabel xrLabel16;
        private XRLabel xrLabel17;
        private XRLabel xrLabel18;
        private XRLabel xrLabel19;
        private XRLabel xrLabel20;
        private XRLabel xrLabel21;
        private XRLabel xrLabel22;
        private XRLabel xrLabel23;
        private XRLabel xrLabel24;
        private XRLabel xrLabel25;
        private XRLabel xrLabel26;
        private XRLabel xrLabel27;
        private XRLabel xrLabel28;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRLabel xrLabel5;
        private XRLabel xrLabel6;
        private XRLabel xrLabel7;
        private XRLabel xrLabel8;
        private XRLabel xrLabel9;
        private XRTable xrTable1;
        private XRTable xrTable2;
        private XRTable xrTable3;
        private XRTable xrTable4;
        private XRTableCell xrTableCell10;
        private XRTableCell xrTableCell11;
        private XRTableCell xrTableCell12;
        private XRTableCell xrTableCell13;
        private XRTableCell xrTableCell14;
        private XRTableCell xrTableCell15;
        private XRTableCell xrTableCell16;
        private XRTableCell xrTableCell17;
        private XRTableCell xrTableCell18;
        private XRTableCell xrTableCell19;
        private XRTableCell xrTableCell20;
        private XRTableCell xrTableCell21;
        private XRTableCell xrTableCell22;
        private XRTableCell xrTableCell23;
        private XRTableCell xrTableCell24;
        private XRTableCell xrTableCell25;
        private XRTableCell xrTableCell26;
        private XRTableCell xrTableCell27;
        private XRTableCell xrTableCell41;
        private XRTableCell xrTableCell42;
        private XRTableCell xrTableCell43;
        private XRTableCell xrTableCell44;
        private XRTableCell xrTableCell47;
        private XRTableCell xrTableCell5;
        private XRTableCell xrTableCell50;
        private XRTableCell xrTableCell51;
        private XRTableCell xrTableCell52;
        private XRTableCell xrTableCell55;
        private XRTableCell xrTableCell6;
        private XRTableCell xrTableCell7;
        private XRTableCell xrTableCell8;
        private XRTableCell xrTableCell9;
        private XRTableRow xrTableRow1;
        private XRTableRow xrTableRow2;
        private XRTableRow xrTableRow3;
        private XRTableRow xrTableRow4;
        private XRTableRow xrTableRow5;
        private XRTableRow xrTableRow6;
        private XRTableRow xrTableRow7;
        private XRTableRow xrTableRow8;
        private XRTableRow xrTableRow9;

        public rpt02aTBH()
        {
            this.components = null;
            this.m_InsuranceTableListID = Guid.Empty;
            this.cls = new HRM_INSURANCE();
            this.m_Order = 0;
            this.InitializeComponent();
        }

        public rpt02aTBH(Guid InsuranceTableListID)
        {
            this.components = null;
            this.m_InsuranceTableListID = Guid.Empty;
            this.cls = new HRM_INSURANCE();
            this.m_Order = 0;
            this.InitializeComponent();
            this.m_InsuranceTableListID = InsuranceTableListID;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void dtBirthday_BeforePrint(object sender, PrintEventArgs e)
        {
            try
            {
                this.dtBirthday.Text = DateTime.Parse(this.dtBirthday.Text).ToShortDateString();
            }
            catch
            {
            }
        }

        private void dtFromDate_BeforePrint(object sender, PrintEventArgs e)
        {
            try
            {
                this.dtFromDate.Text = DateTime.Parse(this.dtFromDate.Text).Month.ToString() + "/" + DateTime.Parse(this.dtFromDate.Text).Year.ToString();
            }
            catch
            {
            }
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.xrTable1 = new XRTable();
            this.xrTableRow1 = new XRTableRow();
            this.txtOrder = new XRTableCell();
            this.txtEmployeeName = new XRTableCell();
            this.txtSocialInsuranceCode = new XRTableCell();
            this.txtHealthInsuranceCode = new XRTableCell();
            this.dtBirthday = new XRTableCell();
            this.txtSex = new XRTableCell();
            this.txtIDCard = new XRTableCell();
            this.txtMainAddress = new XRTableCell();
            this.txtProvince = new XRTableCell();
            this.txtHospital = new XRTableCell();
            this.txtNewSalary = new XRTableCell();
            this.txtNewAllowance1 = new XRTableCell();
            this.txtNewAllowance2 = new XRTableCell();
            this.txtNewAllowance3 = new XRTableCell();
            this.txtNewAllowance4 = new XRTableCell();
            this.dtFromDate = new XRTableCell();
            this.txtDescription = new XRTableCell();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.ReportHeader = new ReportHeaderBand();
            this.txtCompanyCode = new XRLabel();
            this.txtCourseMonthYear = new XRLabel();
            this.xrLabel25 = new XRLabel();
            this.xrLabel1 = new XRLabel();
            this.xrLabel4 = new XRLabel();
            this.txtAddress = new XRLabel();
            this.txtCompany = new XRLabel();
            this.ReportFooter = new ReportFooterBand();
            this.xrLabel7 = new XRLabel();
            this.xrLabel6 = new XRLabel();
            this.xrTable4 = new XRTable();
            this.xrTableRow5 = new XRTableRow();
            this.xrTableCell41 = new XRTableCell();
            this.xrTableCell42 = new XRTableCell();
            this.xrTableCell43 = new XRTableCell();
            this.xrTableRow7 = new XRTableRow();
            this.xrTableCell47 = new XRTableCell();
            this.txtNumberSocial = new XRTableCell();
            this.txtNumberHealth = new XRTableCell();
            this.xrTableRow6 = new XRTableRow();
            this.xrTableCell44 = new XRTableCell();
            this.txtWageSocial = new XRTableCell();
            this.txtWageHealth = new XRTableCell();
            this.xrTableRow9 = new XRTableRow();
            this.xrTableCell55 = new XRTableCell();
            this.txtPaySocial = new XRTableCell();
            this.txtPayHealth = new XRTableCell();
            this.xrTableRow8 = new XRTableRow();
            this.xrTableCell52 = new XRTableCell();
            this.txtPayExtraSocial = new XRTableCell();
            this.txtPayExtraHealth = new XRTableCell();
            this.xrLabel5 = new XRLabel();
            this.xrLabel3 = new XRLabel();
            this.xrTable3 = new XRTable();
            this.xrTableRow3 = new XRTableRow();
            this.xrTableCell7 = new XRTableCell();
            this.xrTableCell50 = new XRTableCell();
            this.xrTableCell8 = new XRTableCell();
            this.xrTableCell9 = new XRTableCell();
            this.xrTableRow4 = new XRTableRow();
            this.xrTableCell10 = new XRTableCell();
            this.xrTableCell51 = new XRTableCell();
            this.xrTableCell11 = new XRTableCell();
            this.xrTableCell12 = new XRTableCell();
            this.xrLabel8 = new XRLabel();
            this.GroupHeader1 = new GroupHeaderBand();
            this.xrLabel28 = new XRLabel();
            this.xrLabel27 = new XRLabel();
            this.xrLabel26 = new XRLabel();
            this.xrLabel24 = new XRLabel();
            this.xrLabel23 = new XRLabel();
            this.xrLabel22 = new XRLabel();
            this.xrLabel21 = new XRLabel();
            this.xrLabel20 = new XRLabel();
            this.xrLabel19 = new XRLabel();
            this.xrLabel18 = new XRLabel();
            this.xrLabel17 = new XRLabel();
            this.xrLabel16 = new XRLabel();
            this.xrLabel15 = new XRLabel();
            this.xrLabel14 = new XRLabel();
            this.xrLabel13 = new XRLabel();
            this.xrLabel12 = new XRLabel();
            this.xrLabel11 = new XRLabel();
            this.xrLabel10 = new XRLabel();
            this.xrTable2 = new XRTable();
            this.xrTableRow2 = new XRTableRow();
            this.xrTableCell24 = new XRTableCell();
            this.xrTableCell15 = new XRTableCell();
            this.xrTableCell14 = new XRTableCell();
            this.xrTableCell16 = new XRTableCell();
            this.xrTableCell25 = new XRTableCell();
            this.xrTableCell5 = new XRTableCell();
            this.xrTableCell18 = new XRTableCell();
            this.xrTableCell17 = new XRTableCell();
            this.xrTableCell19 = new XRTableCell();
            this.xrTableCell6 = new XRTableCell();
            this.xrTableCell22 = new XRTableCell();
            this.xrTableCell21 = new XRTableCell();
            this.xrTableCell20 = new XRTableCell();
            this.xrTableCell13 = new XRTableCell();
            this.xrTableCell26 = new XRTableCell();
            this.xrTableCell23 = new XRTableCell();
            this.xrTableCell27 = new XRTableCell();
            this.xrLabel9 = new XRLabel();
            this.xrTable1.BeginInit();
            this.xrTable4.BeginInit();
            this.xrTable3.BeginInit();
            this.xrTable2.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrTable1 });
            this.Detail.HeightF = 24f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.xrTable1.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTable1.Font = new Font("Times New Roman", 8.75f);
            this.xrTable1.LocationFloat = new PointFloat(3.178914E-05f, 0f);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new XRTableRow[] { this.xrTableRow1 });
            this.xrTable1.SizeF = new SizeF(1085f, 23.33333f);
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseFont = false;
            this.xrTableRow1.Cells.AddRange(new XRTableCell[] { 
                this.txtOrder, this.txtEmployeeName, this.txtSocialInsuranceCode, this.txtHealthInsuranceCode, this.dtBirthday, this.txtSex, this.txtIDCard, this.txtMainAddress, this.txtProvince, this.txtHospital, this.txtNewSalary, this.txtNewAllowance1, this.txtNewAllowance2, this.txtNewAllowance3, this.txtNewAllowance4, this.dtFromDate, 
                this.txtDescription
             });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableRow1.StylePriority.UsePadding = false;
            this.xrTableRow1.StylePriority.UseTextAlignment = false;
            this.xrTableRow1.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableRow1.Weight = 1.0;
            this.txtOrder.Name = "txtOrder";
            this.txtOrder.Weight = 0.0702765135090801;
            this.txtOrder.BeforePrint += new PrintEventHandler(this.txtOrder_BeforePrint);
            this.txtEmployeeName.Name = "txtEmployeeName";
            this.txtEmployeeName.Text = "[EmployeeName]";
            this.txtEmployeeName.Weight = 0.35668216734404651;
            this.txtSocialInsuranceCode.Name = "txtSocialInsuranceCode";
            this.txtSocialInsuranceCode.Text = "[SocialInsuranceCode]";
            this.txtSocialInsuranceCode.Weight = 0.240553076402097;
            this.txtHealthInsuranceCode.Name = "txtHealthInsuranceCode";
            this.txtHealthInsuranceCode.Text = "[HealthInsuranceCode]";
            this.txtHealthInsuranceCode.Weight = 0.22119807285251214;
            this.dtBirthday.Name = "dtBirthday";
            this.dtBirthday.Text = "[BirthdayDay]/[BirthdayMonth]/[BirthdayYear]";
            this.dtBirthday.Weight = 0.1935483954408346;
            this.dtBirthday.BeforePrint += new PrintEventHandler(this.dtBirthday_BeforePrint);
            this.txtSex.Name = "txtSex";
            this.txtSex.StylePriority.UseTextAlignment = false;
            this.txtSex.Text = "[Sex]";
            this.txtSex.TextAlignment = TextAlignment.MiddleCenter;
            this.txtSex.Weight = 0.10506912932515959;
            this.txtSex.BeforePrint += new PrintEventHandler(this.txtSex_BeforePrint);
            this.txtIDCard.Name = "txtIDCard";
            this.txtIDCard.Text = "[IDCard]";
            this.txtIDCard.Weight = 0.1990784211896881;
            this.txtMainAddress.Name = "txtMainAddress";
            this.txtMainAddress.Text = "[MainAddress]";
            this.txtMainAddress.Weight = 0.22119789996017858;
            this.txtProvince.Name = "txtProvince";
            this.txtProvince.Text = "[Province]";
            this.txtProvince.Weight = 0.18525345186283615;
            this.txtHospital.Name = "txtHospital";
            this.txtHospital.Text = "[Hospital]";
            this.txtHospital.Weight = 0.19792621694121021;
            this.txtNewSalary.Name = "txtNewSalary";
            this.txtNewSalary.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtNewSalary.StylePriority.UsePadding = false;
            this.txtNewSalary.StylePriority.UseTextAlignment = false;
            this.txtNewSalary.Text = "[NewSalary]";
            this.txtNewSalary.TextAlignment = TextAlignment.MiddleRight;
            this.txtNewSalary.Weight = 0.15575118985662684;
            this.txtNewAllowance1.Name = "txtNewAllowance1";
            this.txtNewAllowance1.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtNewAllowance1.StylePriority.UsePadding = false;
            this.txtNewAllowance1.StylePriority.UseTextAlignment = false;
            this.txtNewAllowance1.Text = "[NewAllowance1]";
            this.txtNewAllowance1.TextAlignment = TextAlignment.MiddleRight;
            this.txtNewAllowance1.Weight = 0.13824902167328734;
            this.txtNewAllowance2.Name = "txtNewAllowance2";
            this.txtNewAllowance2.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtNewAllowance2.StylePriority.UsePadding = false;
            this.txtNewAllowance2.StylePriority.UseTextAlignment = false;
            this.txtNewAllowance2.Text = "[NewAllowance2]";
            this.txtNewAllowance2.TextAlignment = TextAlignment.MiddleRight;
            this.txtNewAllowance2.Weight = 0.13714279475432223;
            this.txtNewAllowance3.Name = "txtNewAllowance3";
            this.txtNewAllowance3.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtNewAllowance3.StylePriority.UsePadding = false;
            this.txtNewAllowance3.StylePriority.UseTextAlignment = false;
            this.txtNewAllowance3.Text = "[NewAllowance3]";
            this.txtNewAllowance3.TextAlignment = TextAlignment.MiddleRight;
            this.txtNewAllowance3.Weight = 0.13548370181809774;
            this.txtNewAllowance4.Name = "txtNewAllowance4";
            this.txtNewAllowance4.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtNewAllowance4.StylePriority.UsePadding = false;
            this.txtNewAllowance4.StylePriority.UseTextAlignment = false;
            this.txtNewAllowance4.Text = "[NewAllowance4]";
            this.txtNewAllowance4.TextAlignment = TextAlignment.MiddleRight;
            this.txtNewAllowance4.Weight = 0.14045800153130317;
            this.dtFromDate.Font = new Font("Times New Roman", 8.75f);
            this.dtFromDate.Name = "dtFromDate";
            this.dtFromDate.StylePriority.UseFont = false;
            this.dtFromDate.Text = "[FromDate]";
            this.dtFromDate.Weight = 0.10783662796629241;
            this.dtFromDate.BeforePrint += new PrintEventHandler(this.dtFromDate_BeforePrint);
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Text = "[Description]";
            this.txtDescription.Weight = 0.19429531757242718;
            this.TopMargin.HeightF = 70f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.HeightF = 56f;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.ReportHeader.Controls.AddRange(new XRControl[] { this.txtCompanyCode, this.txtCourseMonthYear, this.xrLabel25, this.xrLabel1, this.xrLabel4, this.txtAddress, this.txtCompany });
            this.ReportHeader.HeightF = 129f;
            this.ReportHeader.Name = "ReportHeader";
            this.txtCompanyCode.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompanyCode.LocationFloat = new PointFloat(6.357829E-05f, 6f);
            this.txtCompanyCode.Name = "txtCompanyCode";
            this.txtCompanyCode.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompanyCode.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompanyCode.StylePriority.UseFont = false;
            this.txtCompanyCode.Text = "M\x00e3 đơn vị:__/__ ____";
            this.txtCourseMonthYear.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic | FontStyle.Bold);
            this.txtCourseMonthYear.LocationFloat = new PointFloat(4.768372E-05f, 99.00001f);
            this.txtCourseMonthYear.Name = "txtCourseMonthYear";
            this.txtCourseMonthYear.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCourseMonthYear.SizeF = new SizeF(1085f, 17.70834f);
            this.txtCourseMonthYear.StylePriority.UseFont = false;
            this.txtCourseMonthYear.StylePriority.UseTextAlignment = false;
            this.txtCourseMonthYear.Text = "Số:............ Th\x00e1ng........... Năm...................";
            this.txtCourseMonthYear.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel25.LocationFloat = new PointFloat(835.5898f, 23.70834f);
            this.xrLabel25.Name = "xrLabel25";
            this.xrLabel25.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel25.SizeF = new SizeF(249.4101f, 40.04165f);
            this.xrLabel25.StylePriority.UseTextAlignment = false;
            this.xrLabel25.Text = "(Ban h\x00e0nh k\x00e8m theo CV số: 1615/BHXH-CSXH ng\x00e0y 02/06/2009 của BHXH VN)";
            this.xrLabel25.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel1.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel1.LocationFloat = new PointFloat(835.5898f, 6.000007f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(249.4101f, 17.70833f);
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text = "Mẩu số: 02a-TBH";
            this.xrLabel1.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel4.Font = new Font("Times New Roman", 16f, FontStyle.Bold);
            this.xrLabel4.LocationFloat = new PointFloat(3.178914E-05f, 68.75f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(1085f, 30.25001f);
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "DANH S\x00c1CH LAO ĐỘNG THAM GIA BHXH, BHYT";
            this.xrLabel4.TextAlignment = TextAlignment.MiddleCenter;
            this.txtAddress.LocationFloat = new PointFloat(4.768372E-05f, 43.04166f);
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAddress.SizeF = new SizeF(462.1667f, 17.70833f);
            this.txtAddress.Text = "txtAddress";
            this.txtCompany.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompany.LocationFloat = new PointFloat(4.768372E-05f, 24.00001f);
            this.txtCompany.Name = "txtCompany";
            this.txtCompany.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompany.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompany.StylePriority.UseFont = false;
            this.txtCompany.Text = "txtCompany";
            this.ReportFooter.Controls.AddRange(new XRControl[] { this.xrLabel7, this.xrLabel6, this.xrTable4, this.xrLabel5, this.xrLabel3, this.xrTable3, this.xrLabel8 });
            this.ReportFooter.HeightF = 335f;
            this.ReportFooter.Name = "ReportFooter";
            this.xrLabel7.LocationFloat = new PointFloat(11f, 118.875f);
            this.xrLabel7.Name = "xrLabel7";
            this.xrLabel7.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel7.SizeF = new SizeF(533.75f, 20f);
            this.xrLabel7.Text = "- Thời hạn sử dụng của thẻ BHYT: Từ ng\x00e0y ____/___/_______ Đến ng\x00e0y ___/____/_______";
            this.xrLabel6.LocationFloat = new PointFloat(10.74988f, 92.5f);
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel6.SizeF = new SizeF(533.75f, 20f);
            this.xrLabel6.Text = "- Số thẻ BHYT được cấp:........................................thẻ, trong đ\x00f3 cấp ngoại tỉnh...................... thẻ.";
            this.xrTable4.Borders = BorderSide.All;
            this.xrTable4.LocationFloat = new PointFloat(602.0833f, 37.5f);
            this.xrTable4.Name = "xrTable4";
            this.xrTable4.Rows.AddRange(new XRTableRow[] { this.xrTableRow5, this.xrTableRow7, this.xrTableRow6, this.xrTableRow9, this.xrTableRow8 });
            this.xrTable4.SizeF = new SizeF(459.9997f, 125f);
            this.xrTable4.StylePriority.UseBorders = false;
            this.xrTableRow5.Cells.AddRange(new XRTableCell[] { this.xrTableCell41, this.xrTableCell42, this.xrTableCell43 });
            this.xrTableRow5.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableRow5.Name = "xrTableRow5";
            this.xrTableRow5.StylePriority.UseFont = false;
            this.xrTableRow5.StylePriority.UseTextAlignment = false;
            this.xrTableRow5.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableRow5.Weight = 1.0;
            this.xrTableCell41.Name = "xrTableCell41";
            this.xrTableCell41.Text = "Ph\x00e1t sinh tăng";
            this.xrTableCell41.Weight = 1.6499993896484375;
            this.xrTableCell42.Name = "xrTableCell42";
            this.xrTableCell42.Text = "Bảo hiểm x\x00e3 hội";
            this.xrTableCell42.Weight = 1.491668701171875;
            this.xrTableCell43.Name = "xrTableCell43";
            this.xrTableCell43.Text = "Bảo hiểm y tế";
            this.xrTableCell43.Weight = 1.4583288574218749;
            this.xrTableRow7.Cells.AddRange(new XRTableCell[] { this.xrTableCell47, this.txtNumberSocial, this.txtNumberHealth });
            this.xrTableRow7.Name = "xrTableRow7";
            this.xrTableRow7.Weight = 1.0;
            this.xrTableCell47.Name = "xrTableCell47";
            this.xrTableCell47.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableCell47.StylePriority.UsePadding = false;
            this.xrTableCell47.StylePriority.UseTextAlignment = false;
            this.xrTableCell47.Text = "1. Số lao động";
            this.xrTableCell47.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableCell47.Weight = 1.6499993896484375;
            this.txtNumberSocial.Name = "txtNumberSocial";
            this.txtNumberSocial.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtNumberSocial.StylePriority.UsePadding = false;
            this.txtNumberSocial.StylePriority.UseTextAlignment = false;
            this.txtNumberSocial.Text = "0";
            this.txtNumberSocial.TextAlignment = TextAlignment.MiddleRight;
            this.txtNumberSocial.Weight = 1.4916693115234374;
            this.txtNumberHealth.Name = "txtNumberHealth";
            this.txtNumberHealth.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtNumberHealth.StylePriority.UsePadding = false;
            this.txtNumberHealth.StylePriority.UseTextAlignment = false;
            this.txtNumberHealth.Text = "0";
            this.txtNumberHealth.TextAlignment = TextAlignment.MiddleRight;
            this.txtNumberHealth.Weight = 1.4583282470703125;
            this.xrTableRow6.Cells.AddRange(new XRTableCell[] { this.xrTableCell44, this.txtWageSocial, this.txtWageHealth });
            this.xrTableRow6.Name = "xrTableRow6";
            this.xrTableRow6.Weight = 1.0;
            this.xrTableCell44.Name = "xrTableCell44";
            this.xrTableCell44.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableCell44.StylePriority.UsePadding = false;
            this.xrTableCell44.StylePriority.UseTextAlignment = false;
            this.xrTableCell44.Text = "2. Quỹ lương tham gia";
            this.xrTableCell44.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableCell44.Weight = 1.6499993896484375;
            this.txtWageSocial.Name = "txtWageSocial";
            this.txtWageSocial.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtWageSocial.StylePriority.UsePadding = false;
            this.txtWageSocial.StylePriority.UseTextAlignment = false;
            this.txtWageSocial.Text = "0";
            this.txtWageSocial.TextAlignment = TextAlignment.MiddleRight;
            this.txtWageSocial.Weight = 1.491668701171875;
            this.txtWageHealth.Name = "txtWageHealth";
            this.txtWageHealth.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtWageHealth.StylePriority.UsePadding = false;
            this.txtWageHealth.StylePriority.UseTextAlignment = false;
            this.txtWageHealth.Text = "0";
            this.txtWageHealth.TextAlignment = TextAlignment.MiddleRight;
            this.txtWageHealth.Weight = 1.4583288574218749;
            this.xrTableRow9.Cells.AddRange(new XRTableCell[] { this.xrTableCell55, this.txtPaySocial, this.txtPayHealth });
            this.xrTableRow9.Name = "xrTableRow9";
            this.xrTableRow9.Weight = 1.0;
            this.xrTableCell55.Name = "xrTableCell55";
            this.xrTableCell55.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableCell55.StylePriority.UsePadding = false;
            this.xrTableCell55.StylePriority.UseTextAlignment = false;
            this.xrTableCell55.Text = "3. Số phải đ\x00f3ng";
            this.xrTableCell55.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableCell55.Weight = 1.6499993896484375;
            this.txtPaySocial.Name = "txtPaySocial";
            this.txtPaySocial.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtPaySocial.StylePriority.UsePadding = false;
            this.txtPaySocial.StylePriority.UseTextAlignment = false;
            this.txtPaySocial.Text = "0";
            this.txtPaySocial.TextAlignment = TextAlignment.MiddleRight;
            this.txtPaySocial.Weight = 1.491668701171875;
            this.txtPayHealth.Name = "txtPayHealth";
            this.txtPayHealth.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtPayHealth.StylePriority.UsePadding = false;
            this.txtPayHealth.StylePriority.UseTextAlignment = false;
            this.txtPayHealth.Text = "0";
            this.txtPayHealth.TextAlignment = TextAlignment.MiddleRight;
            this.txtPayHealth.Weight = 1.4583288574218749;
            this.xrTableRow8.Cells.AddRange(new XRTableCell[] { this.xrTableCell52, this.txtPayExtraSocial, this.txtPayExtraHealth });
            this.xrTableRow8.Name = "xrTableRow8";
            this.xrTableRow8.Weight = 1.0;
            this.xrTableCell52.Name = "xrTableCell52";
            this.xrTableCell52.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableCell52.StylePriority.UsePadding = false;
            this.xrTableCell52.StylePriority.UseTextAlignment = false;
            this.xrTableCell52.Text = "4. Số phải đ\x00f3ng bổ sung";
            this.xrTableCell52.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableCell52.Weight = 1.6499993896484375;
            this.txtPayExtraSocial.Name = "txtPayExtraSocial";
            this.txtPayExtraSocial.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtPayExtraSocial.StylePriority.UsePadding = false;
            this.txtPayExtraSocial.StylePriority.UseTextAlignment = false;
            this.txtPayExtraSocial.Text = "0";
            this.txtPayExtraSocial.TextAlignment = TextAlignment.MiddleRight;
            this.txtPayExtraSocial.Weight = 1.491668701171875;
            this.txtPayExtraHealth.Name = "txtPayExtraHealth";
            this.txtPayExtraHealth.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtPayExtraHealth.StylePriority.UsePadding = false;
            this.txtPayExtraHealth.StylePriority.UseTextAlignment = false;
            this.txtPayExtraHealth.Text = "0";
            this.txtPayExtraHealth.TextAlignment = TextAlignment.MiddleRight;
            this.txtPayExtraHealth.Weight = 1.4583288574218749;
            this.xrLabel5.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel5.LocationFloat = new PointFloat(0f, 9.999974f);
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel5.SizeF = new SizeF(1085f, 17.70833f);
            this.xrLabel5.StylePriority.UseFont = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text = "TỔNG HỢP CHUNG";
            this.xrLabel5.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel3.LocationFloat = new PointFloat(10.00001f, 66.91667f);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel3.SizeF = new SizeF(533.75f, 20f);
            this.xrLabel3.Text = "- Số sổ BHXH được cấp:........................................số. Từ số:.................. đến số...........................";
            this.xrTable3.LocationFloat = new PointFloat(0f, 180.125f);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new XRTableRow[] { this.xrTableRow3, this.xrTableRow4 });
            this.xrTable3.SizeF = new SizeF(1085f, 64.87503f);
            this.xrTableRow3.Cells.AddRange(new XRTableCell[] { this.xrTableCell7, this.xrTableCell50, this.xrTableCell8, this.xrTableCell9 });
            this.xrTableRow3.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseFont = false;
            this.xrTableRow3.Weight = 1.0;
            this.xrTableCell7.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseFont = false;
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell7.Weight = 0.80529935472605718;
            this.xrTableCell50.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell50.Name = "xrTableCell50";
            this.xrTableCell50.StylePriority.UseFont = false;
            this.xrTableCell50.StylePriority.UseTextAlignment = false;
            this.xrTableCell50.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell50.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell50.Weight = 0.69470064527394282;
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Weight = 0.67281114098302963;
            this.xrTableCell9.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.StylePriority.UseFont = false;
            this.xrTableCell9.StylePriority.UseTextAlignment = false;
            this.xrTableCell9.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell9.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell9.Weight = 0.82718885901697037;
            this.xrTableRow4.Cells.AddRange(new XRTableCell[] { this.xrTableCell10, this.xrTableCell51, this.xrTableCell11, this.xrTableCell12 });
            this.xrTableRow4.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.StylePriority.UseFont = false;
            this.xrTableRow4.Weight = 1.0;
            this.xrTableCell10.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseFont = false;
            this.xrTableCell10.StylePriority.UseTextAlignment = false;
            this.xrTableCell10.Text = "C\x00e1n bộ thu";
            this.xrTableCell10.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell10.Weight = 0.80529935472605718;
            this.xrTableCell51.Name = "xrTableCell51";
            this.xrTableCell51.StylePriority.UseTextAlignment = false;
            this.xrTableCell51.Text = "Phụ tr\x00e1ch thu";
            this.xrTableCell51.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell51.Weight = 0.69470064527394282;
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.StylePriority.UseTextAlignment = false;
            this.xrTableCell11.Text = "Người lập biểu";
            this.xrTableCell11.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell11.Weight = 0.67281114098302963;
            this.xrTableCell12.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.StylePriority.UseTextAlignment = false;
            this.xrTableCell12.Text = "Người sử dụng lao động";
            this.xrTableCell12.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell12.Weight = 0.82718885901697037;
            this.xrLabel8.LocationFloat = new PointFloat(6.357829E-05f, 315f);
            this.xrLabel8.Name = "xrLabel8";
            this.xrLabel8.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel8.SizeF = new SizeF(1085f, 20f);
            this.xrLabel8.Text = "Ghi ch\x00fa: Mẫu 02a-TBH đơn vị sử dụng lập khi tham gia BHXH, BHYT lần đầu hoặc khi c\x00f3 lao động tăng mới để cấp thẻ BHYT, sổ BHXH";
            this.GroupHeader1.Controls.AddRange(new XRControl[] { 
                this.xrLabel28, this.xrLabel27, this.xrLabel26, this.xrLabel24, this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, 
                this.xrLabel11, this.xrLabel10, this.xrTable2, this.xrLabel9
             });
            this.GroupHeader1.HeightF = 109f;
            this.GroupHeader1.Name = "GroupHeader1";
            this.xrLabel28.Borders = BorderSide.Right | BorderSide.Top | BorderSide.Left;
            this.xrLabel28.LocationFloat = new PointFloat(1013.73f, 0f);
            this.xrLabel28.Name = "xrLabel28";
            this.xrLabel28.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel28.SizeF = new SizeF(71f, 88.16665f);
            this.xrLabel28.StylePriority.UseBorders = false;
            this.xrLabel28.StylePriority.UseTextAlignment = false;
            this.xrLabel28.Text = "Ghi ch\x00fa";
            this.xrLabel28.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel27.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel27.LocationFloat = new PointFloat(974.73f, 0f);
            this.xrLabel27.Name = "xrLabel27";
            this.xrLabel27.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel27.SizeF = new SizeF(40f, 88.16665f);
            this.xrLabel27.StylePriority.UseBorders = false;
            this.xrLabel27.StylePriority.UseTextAlignment = false;
            this.xrLabel27.Text = "Đ\x00f3ng từ th\x00e1ng, năm";
            this.xrLabel27.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel26.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel26.LocationFloat = new PointFloat(775.33f, 0f);
            this.xrLabel26.Name = "xrLabel26";
            this.xrLabel26.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel26.SizeF = new SizeF(198.88f, 37.5f);
            this.xrLabel26.StylePriority.UseBorders = false;
            this.xrLabel26.StylePriority.UseTextAlignment = false;
            this.xrLabel26.Text = "Phụ cấp";
            this.xrLabel26.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel24.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel24.LocationFloat = new PointFloat(924.21f, 37.5f);
            this.xrLabel24.Name = "xrLabel24";
            this.xrLabel24.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel24.SizeF = new SizeF(50f, 50.66665f);
            this.xrLabel24.StylePriority.UseBorders = false;
            this.xrLabel24.StylePriority.UseTextAlignment = false;
            this.xrLabel24.Text = "Khu vực";
            this.xrLabel24.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel23.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel23.LocationFloat = new PointFloat(874.62f, 37.5f);
            this.xrLabel23.Name = "xrLabel23";
            this.xrLabel23.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel23.SizeF = new SizeF(50f, 50.66665f);
            this.xrLabel23.StylePriority.UseBorders = false;
            this.xrLabel23.StylePriority.UseTextAlignment = false;
            this.xrLabel23.Text = "Th\x00e2m ni\x00ean nghề";
            this.xrLabel23.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel22.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel22.LocationFloat = new PointFloat(825.08f, 37.5f);
            this.xrLabel22.Name = "xrLabel22";
            this.xrLabel22.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel22.SizeF = new SizeF(50f, 50.66665f);
            this.xrLabel22.StylePriority.UseBorders = false;
            this.xrLabel22.StylePriority.UseTextAlignment = false;
            this.xrLabel22.Text = "Th\x00e2m ni\x00ean VK";
            this.xrLabel22.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel21.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel21.LocationFloat = new PointFloat(776f, 37.5f);
            this.xrLabel21.Name = "xrLabel21";
            this.xrLabel21.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel21.SizeF = new SizeF(50f, 50.66665f);
            this.xrLabel21.StylePriority.UseBorders = false;
            this.xrLabel21.StylePriority.UseTextAlignment = false;
            this.xrLabel21.Text = "Chức vụ";
            this.xrLabel21.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel20.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel20.LocationFloat = new PointFloat(719.33f, 0f);
            this.xrLabel20.Name = "xrLabel20";
            this.xrLabel20.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel20.SizeF = new SizeF(57f, 88.16665f);
            this.xrLabel20.StylePriority.UseBorders = false;
            this.xrLabel20.StylePriority.UseTextAlignment = false;
            this.xrLabel20.Text = "Tiền lương";
            this.xrLabel20.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel19.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel19.LocationFloat = new PointFloat(581f, 0f);
            this.xrLabel19.Name = "xrLabel19";
            this.xrLabel19.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel19.SizeF = new SizeF(139f, 37.5f);
            this.xrLabel19.StylePriority.UseBorders = false;
            this.xrLabel19.StylePriority.UseTextAlignment = false;
            this.xrLabel19.Text = "Nơi đăng k\x00fd KCB ban đầu";
            this.xrLabel19.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel18.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel18.LocationFloat = new PointFloat(647.67f, 37.5f);
            this.xrLabel18.Name = "xrLabel18";
            this.xrLabel18.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel18.SizeF = new SizeF(71.66663f, 50.66665f);
            this.xrLabel18.StylePriority.UseBorders = false;
            this.xrLabel18.StylePriority.UseTextAlignment = false;
            this.xrLabel18.Text = "Bệnh viện";
            this.xrLabel18.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel17.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel17.LocationFloat = new PointFloat(581f, 37.5f);
            this.xrLabel17.Name = "xrLabel17";
            this.xrLabel17.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel17.SizeF = new SizeF(66.45831f, 50.66665f);
            this.xrLabel17.StylePriority.UseBorders = false;
            this.xrLabel17.StylePriority.UseTextAlignment = false;
            this.xrLabel17.Text = "Tỉnh";
            this.xrLabel17.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel16.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel16.LocationFloat = new PointFloat(501f, 0f);
            this.xrLabel16.Name = "xrLabel16";
            this.xrLabel16.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel16.SizeF = new SizeF(80f, 88.16668f);
            this.xrLabel16.StylePriority.UseBorders = false;
            this.xrLabel16.StylePriority.UseTextAlignment = false;
            this.xrLabel16.Text = "Địa chỉ";
            this.xrLabel16.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel15.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel15.LocationFloat = new PointFloat(428.6667f, 0f);
            this.xrLabel15.Name = "xrLabel15";
            this.xrLabel15.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel15.SizeF = new SizeF(72f, 88.16668f);
            this.xrLabel15.StylePriority.UseBorders = false;
            this.xrLabel15.StylePriority.UseTextAlignment = false;
            this.xrLabel15.Text = "Số chứng minh thư";
            this.xrLabel15.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel14.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel14.LocationFloat = new PointFloat(389.7083f, 0f);
            this.xrLabel14.Name = "xrLabel14";
            this.xrLabel14.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel14.SizeF = new SizeF(38.95844f, 88.16668f);
            this.xrLabel14.StylePriority.UseBorders = false;
            this.xrLabel14.StylePriority.UseTextAlignment = false;
            this.xrLabel14.Text = "Nam (X)";
            this.xrLabel14.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel13.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel13.LocationFloat = new PointFloat(319.8334f, 0f);
            this.xrLabel13.Name = "xrLabel13";
            this.xrLabel13.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel13.SizeF = new SizeF(70f, 88.16668f);
            this.xrLabel13.StylePriority.UseBorders = false;
            this.xrLabel13.StylePriority.UseTextAlignment = false;
            this.xrLabel13.Text = "Ng\x00e0y, th\x00e1ng, năm sinh";
            this.xrLabel13.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel12.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel12.LocationFloat = new PointFloat(239.8334f, 0f);
            this.xrLabel12.Name = "xrLabel12";
            this.xrLabel12.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel12.SizeF = new SizeF(80f, 88.16668f);
            this.xrLabel12.StylePriority.UseBorders = false;
            this.xrLabel12.StylePriority.UseTextAlignment = false;
            this.xrLabel12.Text = "Số thẻ BHYT";
            this.xrLabel12.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel11.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel11.LocationFloat = new PointFloat(154f, 0f);
            this.xrLabel11.Name = "xrLabel11";
            this.xrLabel11.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel11.SizeF = new SizeF(85.8f, 88.16668f);
            this.xrLabel11.StylePriority.UseBorders = false;
            this.xrLabel11.StylePriority.UseTextAlignment = false;
            this.xrLabel11.Text = "Số sổ BHXH";
            this.xrLabel11.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel10.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel10.LocationFloat = new PointFloat(24.41672f, 0f);
            this.xrLabel10.Name = "xrLabel10";
            this.xrLabel10.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel10.SizeF = new SizeF(130f, 88.16668f);
            this.xrLabel10.StylePriority.UseBorders = false;
            this.xrLabel10.StylePriority.UseTextAlignment = false;
            this.xrLabel10.Text = "Họ v\x00e0 t\x00ean";
            this.xrLabel10.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTable2.Borders = BorderSide.All;
            this.xrTable2.Font = new Font("Times New Roman", 8.75f);
            this.xrTable2.LocationFloat = new PointFloat(6.357829E-05f, 88.16668f);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Rows.AddRange(new XRTableRow[] { this.xrTableRow2 });
            this.xrTable2.SizeF = new SizeF(1085f, 20.83334f);
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTableRow2.Cells.AddRange(new XRTableCell[] { 
                this.xrTableCell24, this.xrTableCell15, this.xrTableCell14, this.xrTableCell16, this.xrTableCell25, this.xrTableCell5, this.xrTableCell18, this.xrTableCell17, this.xrTableCell19, this.xrTableCell6, this.xrTableCell22, this.xrTableCell21, this.xrTableCell20, this.xrTableCell13, this.xrTableCell26, this.xrTableCell23, 
                this.xrTableCell27
             });
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.StylePriority.UseTextAlignment = false;
            this.xrTableRow2.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableRow2.Weight = 1.0;
            this.xrTableCell24.Name = "xrTableCell24";
            this.xrTableCell24.Text = "[1]";
            this.xrTableCell24.Weight = 0.0702764924139753;
            this.xrTableCell15.Name = "xrTableCell15";
            this.xrTableCell15.Text = "[2]";
            this.xrTableCell15.Weight = 0.35668208296364612;
            this.xrTableCell14.Name = "xrTableCell14";
            this.xrTableCell14.Text = "[3]";
            this.xrTableCell14.Weight = 0.24055298850583642;
            this.xrTableCell16.Name = "xrTableCell16";
            this.xrTableCell16.Text = "[4]";
            this.xrTableCell16.Weight = 0.22119815723291733;
            this.xrTableCell25.Name = "xrTableCell25";
            this.xrTableCell25.Text = "[5]";
            this.xrTableCell25.Weight = 0.193548384893287;
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.Text = "[6]";
            this.xrTableCell5.Weight = 0.10506912405134543;
            this.xrTableCell18.Name = "xrTableCell18";
            this.xrTableCell18.Text = "[7]";
            this.xrTableCell18.Weight = 0.19907833153553522;
            this.xrTableCell17.Name = "xrTableCell17";
            this.xrTableCell17.Text = "[8]";
            this.xrTableCell17.Weight = 0.22119816013310487;
            this.xrTableCell19.Name = "xrTableCell19";
            this.xrTableCell19.Text = "[9]";
            this.xrTableCell19.Weight = 0.18525344834698534;
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.Text = "[10]";
            this.xrTableCell6.Weight = 0.19792604818044754;
            this.xrTableCell22.Name = "xrTableCell22";
            this.xrTableCell22.Text = "[11]";
            this.xrTableCell22.Weight = 0.15575120919376356;
            this.xrTableCell21.Name = "xrTableCell21";
            this.xrTableCell21.Text = "[12]";
            this.xrTableCell21.Weight = 0.13824885027563652;
            this.xrTableCell20.Name = "xrTableCell20";
            this.xrTableCell20.Text = "[13]";
            this.xrTableCell20.Weight = 0.13714285188688596;
            this.xrTableCell13.Name = "xrTableCell13";
            this.xrTableCell13.Text = "[14]";
            this.xrTableCell13.Weight = 0.13548387057888414;
            this.xrTableCell26.Name = "xrTableCell26";
            this.xrTableCell26.Text = "[15]";
            this.xrTableCell26.Weight = 0.14045852861713709;
            this.xrTableCell23.Name = "xrTableCell23";
            this.xrTableCell23.Text = "[16]";
            this.xrTableCell23.Weight = 0.1078362854625665;
            this.xrTableCell27.Name = "xrTableCell27";
            this.xrTableCell27.Text = "[17]";
            this.xrTableCell27.Weight = 0.19429518572804577;
            this.xrLabel9.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel9.LocationFloat = new PointFloat(0f, 0f);
            this.xrLabel9.Name = "xrLabel9";
            this.xrLabel9.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel9.SizeF = new SizeF(25.4167f, 88.16668f);
            this.xrLabel9.StylePriority.UseBorders = false;
            this.xrLabel9.StylePriority.UseTextAlignment = false;
            this.xrLabel9.Text = "Số TT";
            this.xrLabel9.TextAlignment = TextAlignment.MiddleCenter;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.ReportHeader, this.ReportFooter, this.GroupHeader1 });
            base.Landscape = true;
            base.Margins = new Margins(50, 0x22, 70, 0x38);
            base.PageHeight = 0x33b;
            base.PageWidth = 0x491;
            base.PaperKind = PaperKind.A4;
            base.Version = "9.3";
            this.BeforePrint += new PrintEventHandler(this.rpt02aTBH_BeforePrint);
            this.xrTable1.EndInit();
            this.xrTable4.EndInit();
            this.xrTable3.EndInit();
            this.xrTable2.EndInit();
            this.EndInit();
        }

        private void Load02aTBH()
        {
            DataSet set = new DataSet();
            DataTable listIncrease = new DataTable();
            listIncrease = this.cls.GetListIncrease(this.m_InsuranceTableListID);
            set.Tables.Add(listIncrease);
            base.DataSource = set;
            this.txtEmployeeName.DataBindings.Add("Text", base.DataSource, "EmployeeName");
            this.txtSocialInsuranceCode.DataBindings.Add("Text", base.DataSource, "SocialInsuranceCode");
            this.txtHealthInsuranceCode.DataBindings.Add("Text", base.DataSource, "HealthInsuranceCode");
            this.dtBirthday.DataBindings.Add("Text", base.DataSource, "Birthday");
            this.txtSex.DataBindings.Add("Text", base.DataSource, "Sex");
            this.txtIDCard.DataBindings.Add("Text", base.DataSource, "IDCard");
            this.txtMainAddress.DataBindings.Add("Text", base.DataSource, "MainAddress");
            this.txtNewSalary.DataBindings.Add("Text", base.DataSource, "NewSalary", "{0:##,##0}");
            this.txtNewAllowance1.DataBindings.Add("Text", base.DataSource, "NewAllowance1", "{0:##,##0}");
            this.txtNewAllowance2.DataBindings.Add("Text", base.DataSource, "NewAllowance2", "{0:##,##0}");
            this.txtNewAllowance3.DataBindings.Add("Text", base.DataSource, "NewAllowance3", "{0:##,##0}");
            this.txtNewAllowance4.DataBindings.Add("Text", base.DataSource, "NewAllowance4", "{0:##,##0}");
            this.txtProvince.DataBindings.Add("Text", base.DataSource, "Province");
            this.txtHospital.DataBindings.Add("Text", base.DataSource, "Hospital");
            this.dtFromDate.DataBindings.Add("Text", base.DataSource, "FromDate");
            this.txtDescription.DataBindings.Add("Text", base.DataSource, "Description");
            DataTable table2 = this.cls.Get02aTBHTotalUp(this.m_InsuranceTableListID);
            this.txtNumberSocial.Text = decimal.Parse(table2.Rows[0]["NumberSocial"].ToString()).ToString("#,0");
            this.txtNumberHealth.Text = decimal.Parse(table2.Rows[0]["NumberHealth"].ToString()).ToString("#,0");
            this.txtWageSocial.Text = decimal.Parse(table2.Rows[0]["WageSocial"].ToString()).ToString("#,0");
            this.txtWageHealth.Text = decimal.Parse(table2.Rows[0]["WageHealth"].ToString()).ToString("#,0");
            this.txtPaySocial.Text = decimal.Parse(table2.Rows[0]["PaySocial"].ToString()).ToString("#,0");
            this.txtPayHealth.Text = decimal.Parse(table2.Rows[0]["PayHealth"].ToString()).ToString("#,0");
            this.txtPayExtraSocial.Text = decimal.Parse(table2.Rows[0]["PayExtraSocial"].ToString()).ToString("#,0");
            this.txtPayExtraHealth.Text = decimal.Parse(table2.Rows[0]["PayExtraHealth"].ToString()).ToString("#,0");
        }

        private void rpt02aTBH_BeforePrint(object sender, PrintEventArgs e)
        {
            ////if (MyInfo.Get(MyEncryption.Encrypt("ERP01", "123654", true)) == "OK")
            {
                this.txtCompanyCode.Text = "M\x00e3 đơn vị: " + "";// MyInfo.CompanyCode;
                this.txtCompany.Text = "T\x00ean đơn vị: " + "";// MyInfo.Company;
                this.txtAddress.Text = "Địa chỉ:" + "";//MyInfo.Address;
            }
            HRM_INSURANCE_TABLELIST hrm_insurance_tablelist = new HRM_INSURANCE_TABLELIST();
            hrm_insurance_tablelist.Get(this.m_InsuranceTableListID);
            this.txtCourseMonthYear.Text = "Số: " + hrm_insurance_tablelist.Course.ToString() + ". Th\x00e1ng " + hrm_insurance_tablelist.Month.ToString() + " Năm " + hrm_insurance_tablelist.Year.ToString();
            this.Load02aTBH();
        }

        private void txtOrder_BeforePrint(object sender, PrintEventArgs e)
        {
            this.m_Order++;
            this.txtOrder.Text = this.m_Order.ToString();
        }

        private void txtSex_BeforePrint(object sender, PrintEventArgs e)
        {
            if (this.txtSex.Text == "True")
            {
                this.txtSex.Text = "X";
            }
            else
            {
                this.txtSex.Text = "";
            }
        }
    }
}

